package java8.chapter09.test;

public class Ambiguous {

	static class C implements A, B {
		
		public void hello() {
			A.super.hello();
		}

	}

	public static void main(String[] args) {
		new C().hello();
	}
	
	static interface A {
		
		public default void hello() {
			System.out.println("Hello from A");
		}
		
	}
	
	static interface B {
		
		public default void hello() {
			System.out.println("Hello from B");
		}
		
	}

}